<template>
    <div class="delete_bt" @click="$store.commit('set_delete_dialog',true)">
        <div class="left">
            <slot name="left"></slot>
        </div>
        <div class="right">
            删除
        </div>
    </div>
</template>
<script>
export default { //删除按钮组件
    name:'Delete_bt',
    data(){
        return{

        };
    },
    created(){

    },
    methods:{

    },
}
</script>
<style lang="scss" scoped>
.delete_bt{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 100%;
    cursor: pointer;
    padding: 0 10px;
    box-sizing: border-box;
    >div{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    i{
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }
}
</style>